package com.tloss.bean;

import java.io.Serializable;
import java.util.List;

import com.tloss.stdao.ResidualStock;
import com.tloss.stdao.service.ResidualStockService;

public class ResidualStockBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8869222269973522264L;
	ResidualStockService residualStockService;
	String username;
	public ResidualStockBean() {
		residualStockService =  new ResidualStockService();
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUsername() {
		return username;
	}
	public List<ResidualStock> getResidualStocks() {
		return residualStockService.select(username);
	}
}
